package com.ctshk.rpc.train.service;


import com.ctshk.common.dto.Result;
import com.ctshk.common.model.TokenUser;
import com.ctshk.rpc.train.dto.TrainTicketsInitializationSettingsDTO;
import com.ctshk.rpc.train.req.TrainTicketsInitializationSettingsReq;

/**
 * <p>
 * 火车票api初始化设置表 服务类
 * </p>
 *
 * @author 彭柳霖
 * @since 2021-03-10
 */
public interface ITrainTicketsInitializationSettingsService{

    /**
     * 火车票api初始化设置
     * @param initializationSettingsReq
     * @param user
     */
    Result saveSettingInfo(TrainTicketsInitializationSettingsReq initializationSettingsReq, TokenUser user);


    /**
     * 根据供应商id查询火车票api设置
     * @param supplierId
     * @return
     */
    TrainTicketsInitializationSettingsDTO queryDetail(Long supplierId);
}
